package com.naiterui.ehp.bs.doctor.vo.param;

import java.io.Serializable;

import com.naiterui.common.repository.page.PageParamVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 搜索商品参数
 * @author fwd
 */
@ApiModel(description = "搜索商品参数")
public class ProductSearchParam extends PageParamVO implements Serializable {

    private static final long serialVersionUID = -4607704502933087332L;

    /** 医生ID */
    @ApiModelProperty(value = "医生ID", required = true, dataType = "long")
    private Long doctorId;

    /** 搜索关键字 */
    @ApiModelProperty(value = "搜索关键字", dataType = "String")
    private String key;

    /** 排序字段 */
    @ApiModelProperty(value = "分类ID",dataType = "int")
    private Integer categoryId;

    public Long getDoctorId() {
        return doctorId;
    }

    public void setDoctorId(Long doctorId) {
        this.doctorId = doctorId;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public Integer getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(Integer categoryId) {
        this.categoryId = categoryId;
    }

    @Override
    public String toString() {
        return "ProductSearchParam{" + "doctorId=" + doctorId + ", key='" + key + '\'' + ", categoryId=" + categoryId +'}';
    }
}
